package com.ruoyi.leave.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 出行信息对象 leave_info
 * 
 * @author rockvan
 * @date 2023-04-10
 */
public class LeaveInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    @Excel(name = "编号")
    private Long id;

    /** 用户名 */
    @Excel(name = "用户名")
    private String username;

    /** 门牌号 */
    @Excel(name = "门牌号")
    private String dormitory;

    /** 手机号码 */
    @Excel(name = "手机号码")
    private String phoneNumber;

    /** 出行原因 */
    @Excel(name = "出行原因")
    private String reason;

    /** 出行方式 */
    @Excel(name = "出行方式")
    private String traffic;

    /** 目的地 */
    @Excel(name = "目的地")
    private String address;

    /** 状态 */
    @Excel(name = "状态")
    private Integer status;

    /** 行程路线 */
    @Excel(name = "行程路线")
    private String line;

    /** 逻辑删除 */
    private Integer isDelete;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUsername(String username) 
    {
        this.username = username;
    }

    public String getUsername() 
    {
        return username;
    }
    public void setDormitory(String dormitory) 
    {
        this.dormitory = dormitory;
    }

    public String getDormitory() 
    {
        return dormitory;
    }
    public void setPhoneNumber(String phoneNumber) 
    {
        this.phoneNumber = phoneNumber;
    }

    public String getPhoneNumber() 
    {
        return phoneNumber;
    }
    public void setReason(String reason) 
    {
        this.reason = reason;
    }

    public String getReason() 
    {
        return reason;
    }
    public void setTraffic(String traffic) 
    {
        this.traffic = traffic;
    }

    public String getTraffic() 
    {
        return traffic;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setLine(String line) 
    {
        this.line = line;
    }

    public String getLine() 
    {
        return line;
    }
    public void setIsDelete(Integer isDelete) 
    {
        this.isDelete = isDelete;
    }

    public Integer getIsDelete() 
    {
        return isDelete;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("username", getUsername())
            .append("dormitory", getDormitory())
            .append("phoneNumber", getPhoneNumber())
            .append("reason", getReason())
            .append("traffic", getTraffic())
            .append("address", getAddress())
            .append("status", getStatus())
            .append("line", getLine())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("isDelete", getIsDelete())
            .toString();
    }
}
